﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace Faser_Shop.Models.RequestModel
{
    public class ProductUpdateRM
    {
        [Required(ErrorMessage ="需修改的商品Id不能为空")]
        public int ProductId { get; set; }
        public string Image { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public decimal? Price { get; set; }
        public int? CategoryId { get; set; }
        public int? ProductStock { get; internal set; }
    }
}
